package processor;

import model.KuaiIpModel;
import pipeline.KuaiIpVoPipeline;
import us.codecraft.webmagic.Site;
import us.codecraft.webmagic.model.OOSpider;

public class KuaiIpRepo {

    public static void main(String[] args) {
        OOSpider.create(Site.me(), new KuaiIpVoPipeline(), new Class[]{KuaiIpModel.class})
                .addUrl(new String[]{"http://my.oschina.net/flashsword/blog"})
                .run();
    }
}
